<?php
    define('THEME_PATH',APP_PATH.request()->module()."/view");
    $tm_active_module = strtolower(request()->module());
    $tm_active_controllerName = strtolower(request()->controller());
    $tm_active_actionName = strtolower(request()->action());
    $tm_active_param = $_GET;
    $menuArray = include(THEME_PATH."/public/menuXml.php");
?>
        <!--  -->
<notempty name="menuArray">
<div id="sidebar" class="sidebar responsive sidebar-fixed">
    <script type="text/javascript">
        try {
            ace.settings.check('sidebar', 'fixed')
        } catch (e) {
        }
    </script>

    <notempty name="menuArray.name">
        <div class="sidebar-shortcuts" id="sidebar-shortcuts">
            <div class="sidebar-menu-top">
                <div class="sidebar-menu-top-title">
                    <notempty name="menuArray.icon">
                        <i class="{$menuArray.icon}"></i>
                    </notempty>
                    {$menuArray.name}
                </div>
            </div>
            <!--<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
                <button class="btn btn-success">
                <i class="ace-icon fa fa-signal"></i>
                </button>

                <button class="btn btn-info">
                <i class="ace-icon fa fa-pencil"></i>
                </button>

                &lt;!&ndash; #section:basics/sidebar.layout.shortcuts &ndash;&gt;
                <button class="btn btn-warning">
                <i class="ace-icon fa fa-users"></i>
                </button>
                &lt;!&ndash; /section:basics/sidebar.layout.shortcuts &ndash;&gt;
            </div>

            <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                <span class="btn btn-success"></span>

                <span class="btn btn-info"></span>

                <span class="btn btn-warning"></span>

                <span class="btn btn-danger"></span>
            </div>-->
        </div>
    </notempty>
    <!-- /.sidebar-shortcuts -->
    <php>
        include(THEME_PATH."/public/menuLogic.php");
    </php>
    <!-- /.nav-list -->

    <!-- #section:basics/sidebar.layout.minimize -->
    <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
        <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left"
           data-icon2="ace-icon fa fa-angle-double-right"></i>
    </div>

    <!-- /section:basics/sidebar.layout.minimize -->
    <script type="text/javascript">
        try {
            ace.settings.check('sidebar', 'collapsed')
        } catch (e) {
        }
    </script>
</div>
</notempty>